package router

import (
	"api/internal/handler"
	"github.com/gin-gonic/gin"
)

func SetOrderRouter(c *gin.RouterGroup) {
	orderRouter := c.Group("/order")
	{
		orderRouter.POST("/createCart", handler.CartCreate)
		orderRouter.POST("/createOrder", handler.OrderCreate)
		orderRouter.GET("/show", handler.OrderShow)
	}
}
